﻿using System;
using System.Collections.Generic;

namespace CarEdge.Infrastructure.EFCore.MySql
{
    public partial class SysProduct
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        public string Pid { get; set; } = null!;
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? Pname { get; set; }
        /// <summary>
        /// 产品价格
        /// </summary>
        public double? Pprice { get; set; }
        /// <summary>
        /// 产品描述
        /// </summary>
        public string? Pexplain { get; set; }
        /// <summary>
        /// 产品是否上架
        /// </summary>
        public int? Pislist { get; set; }
        /// <summary>
        /// 产品图片
        /// </summary>
        public string? Pimage { get; set; }
        /// <summary>
        /// 产品销量
        /// </summary>
        public int? Psales { get; set; }
        /// <summary>
        /// 产品上架时间
        /// </summary>
        public DateTime? Pcreatetime { get; set; }
        /// <summary>
        /// 产品生产日期
        /// </summary>
        public DateTime? Pdata { get; set; }
        /// <summary>
        /// 产品库存
        /// </summary>
        public int? Pcount { get; set; }
        /// <summary>
        /// 产品保质期
        /// </summary>
        public int? Pshelf { get; set; }
        /// <summary>
        /// 产品类别ID
        /// </summary>
        public string? Ptid { get; set; }
        /// <summary>
        /// 服务时长 仅限于服务类产品
        /// </summary>
        public int? PDuration { get; set; }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public int? PisTop { get; set; }
        /// <summary>
        /// 备用
        /// </summary>
        public string? Pdesc { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public int? Ptype { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int? Pno { get; set; }
    }
}
